package com.zhangshihao.employee.mapper;

import com.zhangshihao.employee.domain.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {
    void insert(Employee employee);
    List<Employee> findAll();
    void update(Employee employee);
    void deleteById(Integer id);
}
